//
//  MIDIdatumCell.m
//  迷笛
//
//  Created by . on 2018/9/16.
//  Copyright © 2018年 🍃🌺🌺🍃. All rights reserved.
//

#import "MIDIdatumCell.h"

@implementation MIDIdatumCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        [self addSubview:self.name];
        [self.name mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.mas_offset(WidthScale(0));
            make.left.mas_offset(WidthScale(20));
            make.width.equalTo(self);
            make.height.equalTo(self);
        }];
        [self addSubview:self.particular];
        [self.particular mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.mas_offset(WidthScale(0));
            make.left.mas_offset(WidthScale(20));
            make.width.equalTo(self);
            make.height.equalTo(self);
             }];
        [self addSubview:self.bitan];
        [self.bitan mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.mas_offset(WidthScale(0));
            make.left.mas_offset(WidthScale(20));
            make.width.equalTo(self);
            make.height.equalTo(self);
        }];
    }
    return self;
}
-(UITextField *)name
{
    if (!_name)
    {
        _name =[[UITextField alloc]init];
        _name.borderStyle = UITextBorderStyleNone;
        
    }
    return _name;
}
-(UITextField *)particular
{
    if (!_particular)
    {
        _particular =[[UITextField alloc]init];
        _particular.borderStyle = UITextBorderStyleNone;
    }
    return _particular;
}
-(UITextField *)bitan
{
    if (!_bitan)
    {
        _bitan =[[UITextField alloc]init];
        _bitan.borderStyle = UITextBorderStyleNone;
    }
    return _bitan;
}

@end
